package com.projectdemo.springbootdemo1.dao;

import com.projectdemo.springbootdemo1.pojo.Employee;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface EmployeeRepository extends CrudRepository<Employee, Integer> {
    // 你可以在这里定义自定义查询方法，例如：
    Employee findByEmpName(String empName);
}
